﻿# language: en
# encoding: UTF-8

Feature:
  Afin de fournir le score total a l'utilisateur
  En tant que developpeur
  Je veux savoir calculer le score total pour un passage de test

  Scenario Outline: Calcul du score total pour les reponses de base
    Given les reponses "<reponse1>", "<reponse2>", "<reponse3>", "<reponse4>", "<reponse5>", "<reponse6>", "<reponse7>", "<reponse8>", "<reponse9>"
    When je calcule le score total
    Then le score total devrait etre <score>

  Examples:
    | reponse1      | reponse2    | reponse3          | reponse4                                                                                  | reponse5                                                               | reponse6             | reponse7                                          | reponse8                                 | reponse9                         | score |
    | No iterations | Unit tested | Poor user stories | Product owner with clear product backlog estimated by team before sprint planning meeting | Product Owner has burndown release with release date based on velocity | Estimate error < 10 % | Burndown chart only burns down when story is done | No one disrupting team, only Scrum roles | Team is in hyperproductive state | 53    |


  Scenario Outline: Le score des questions additionnelles s'ajoute au score de base
    Given un score de base de 54
    And les options "<question 7a>", "<question 7b>"
    When je calcule le score total
    Then le score total devrait etre "<score>"

  Examples:
    | question 7a                          | question 7b                                                     | score |
    | In addition, Team knows its velocity | N.A.                                                            | 57    |
    | N.A.                                 | N.A.                                                            | 54    |
    | N.A.                                 | In addition, Product Owner Release plan based on known velocity | 56    |

    